|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A text file buffer is a file buffer for text files. The contents of a text file buffe is given in the form of a document. Also, the text file buffer provides methods to manage the character encoding used to read and write the buffer's underlying text file.
Method Summary | |
IDocument |
getDocument()
Returns the document of this text file buffer. |
String |
getEncoding()
Returns the character encoding to be used for reading and writing the buffer's underlying file. |
void |
setEncoding(String encoding)
Sets the character encoding to be used for reading and writing the buffer's underlyning file. |
Methods inherited from interface org.eclipse.core.filebuffers.IFileBuffer |
commit, getLocation, getModifcationStamp, getStatus, isDirty, isShared, isStateValidated, isSynchronized, resetStateValidation, revert, validateState |
Method Detail |
public IDocument getDocument()
public String getEncoding()
public void setEncoding(String encoding)
encoding
- the encoding
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |